/*
 * Copyright (c) 2006, 2022, webrx.cn All rights reserved.
 *
 */
package cn.webrx.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * <p>Project: smvc2022 - IndexController
 * <p>Powered by webrx On 2022-04-08 16:38:07
 * <p>Created by IntelliJ IDEA
 *
 * @author webrx [webrx@126.com]
 * @version 1.0
 * @since 17
 */

@Controller
public class IndexController {
    @RequestMapping
    public String index(Model m){
        m.addAttribute("msg","Hello World Spring SpringMVC整合");
        return "index";
    }

}
